Skip to content

Instantly share code, notes, and snippets.

@danieldogeanu
danieldogeanu / WampHTTPS.md
Last active May 21, 2024 09:01
How to enable HTTPS for WAMP Server.

After you've downloaded and installed WAMP Server, follow these steps:

  1. Generate SSL certificate using OpenSSL:
  • Add C:\wamp64\bin\apache\apache2.4.27\bin directory to the PATH so you can access openssl command from the command prompt (WAMP comes with its own version of OpenSSL already integrated, so you don't need to install it. You'll find it in this directory.).

    IMPORTANT: Please note that the path of your installation depends on your version of Apache! DO NOT copy and paste the paths presented in this gist as they will not match with yours!

  • Navigate to your user directory (C:\Users\%YOUR_USERNAME%\), create a new folder (.openssl), navigate to it with Powershell and run these commands:

    openssl genrsa -aes256 -out private.key 2048
    

openssl rsa -in private.key -out private.key

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active May 21, 2024 09:01
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This no longer works in browser!

Note

This no longer works if you're alone in vc! Somebody else has to join you!

How to use this script:

  1. Accept the quest under User Settings -> Gift Inventory
@nmn
nmn / utilities.stylex.ts
Created December 12, 2023 09:37
Tailwind Utilities in StyleX
import * as stylex from '@stylexjs/stylex'
export default stylex.create({
sr_only: {
position: 'absolute',
width: 1,
height: 1,
padding: 0,
margin: -1,
overflow: 'hidden',
@rfairley
rfairley / reverse-ssh-tunnel-vps-to-pi.md
Last active May 21, 2024 08:57
Connecting to a Raspberry Pi through a VPS using a reverse SSH tunnel

Connecting to a Raspberry Pi through a VPS using a reverse SSH tunnel

SSH (Secure Shell) to a host existing in an internal network through a reverse-tunneled SSH connection to an externally accessible VPS (Virtual Private Server). This setup is described where the internal host is a Raspberry Pi, but can be generalized for any host on the internal network that runs an OpenSSH server.

  internal network                                                   Internet                                       home network
                                              ||                                                         ||
 ------------------                           ||                          ------------------             ||             ------------------
|                  | reverse SSH tunnel (VPS $tunnel_port to Pi port 22) |                  |            ||            |                  |
|   Raspberry Pi     ==================================================>         VPS          ===================
@qoomon
qoomon / conventional_commit_messages.md
Last active May 21, 2024 08:55
Conventional Commit Messages

Conventional Commit Messages

See how a minor change to your commit message style can make a difference.

Tip

Have a look at git-conventional-commits , a CLI util to ensure these conventions and generate verion and changelogs

Commit Message Formats

Default

@nguyenduclongwin
nguyenduclongwin / dark-style.css
Created May 21, 2024 08:53 — forked from Advik-B/dark-style.css
Modern Qt StyleSheet for dark theme lovers
/*-----QWidget-----*/
QWidget
{
background-color: #121212;
color: #ffffff;
border-color: #051a39;
}
---
apiVersion: v1
kind: ConfigMap
metadata:
name: recyclarr
namespace: media
data:
recyclarr.yaml: |
sonarr:
sonarr-main:
@deliciouskek
deliciouskek / blefuzzV21.sh
Last active May 21, 2024 08:52
BLE Fuzzer V2.1
#!\bin\sh
#
# Bluetooth Low Energy Fuzzer Version 2.1
# code by @delciouskek (Jordan H.)
#
# Greetings to @DA_667, Lesley Carhart (@hacksforpancakes), #allcatpack, Jayson E. Street, @lojikil
# @anarchistdalek, @cryptoishard, @metalgearreynrd, @lnxdork, @7th_protocol, @m3atshi3ld, @savagememes,
# @tribl_a2k, @grubthor, @skoomapipe, @t3h_arch3r, @livebeef, @zawarudad, @fuckcrunchroll, @sonichu1,
# @rustlay, @myhaxorninja, @mywhiteninja, @tsundereranger, Dan Aleksander (@havetilfive), @yokalli,
# @epikmani, @apexcybertwat, @genxmedia, @ra6bit, @detinspector, @teridax, @mcrealname, @mo0ty,
@rxaviers
rxaviers / gist:7360908
Last active May 21, 2024 08:52
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: πŸ˜„ :smile: πŸ˜† :laughing:
😊 :blush: πŸ˜ƒ :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
πŸ˜† :satisfied: 😁 :grin: πŸ˜‰ :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: πŸ˜€ :grinning:
πŸ˜— :kissing: πŸ˜™ :kissing_smiling_eyes: πŸ˜› :stuck_out_tongue: